﻿namespace SharePointUtilitiesForDevelopers.Action
{
    /// <summary>
    /// An entity class that contains the context for a custom action.
    /// </summary>
    public class ActionContext
    {
        /// <summary>
        /// Gets or sets the web.
        /// </summary>
        /// <value>The web.</value>
        public SharePointWeb Web { get; set; }

        /// <summary>
        /// Gets or sets the entity.
        /// </summary>
        /// <value>The entity.</value>
        public object Entity { get; set; }

        /// <summary>
        /// Gets or sets the owner (IWin32Window).
        /// </summary>
        /// <value>The owner.</value>
        public object Owner { get; set; }
    }
}
